package com.ruoyi.system.domain.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备基础对象 base_equipment
 *
 * @author ruoyi
 * @date 2023-02-01
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("base_equipment")
public class BaseEquipment extends BaseEntity {

private static final long serialVersionUID=1L;


        /** 设备主键id */
        @TableId(value = "equipment_id")
    private Long equipmentId;

        /** 设备名称 */
        @Excel(name = "设备名称")
    private String equipmentName;

        /** 设备编码 */
        @Excel(name = "设备编码")
    private String equipmentCode;

        /** 设备类型 */
        @Excel(name = "设备类型")
    private String equipmentType;

        /** 工厂id（关联base_shop表） */
        @Excel(name = "工厂id" , readConverterExp = "关=联base_shop表")
    private Long shopId;

}
